package com.baizhi.springbootday0101.service;

import com.baizhi.springbootday0101.entity.Book;

import java.util.Map;

public interface BookService {
	Map selectAll(int page, int limit,String name);

//	插入数据
	Map insertBook(Book book);

	//修改
	Map updateBook(Book book);

	//删除
	Map deleteBook(int bookId);
}
